package com.javasm.finance.service;

import com.javasm.finance.entity.ProdChannel;
import com.javasm.finance.entity.ProductCategory;

import java.util.List;

public interface ProductCategoryService {
    //获取产品系列详细信息
    List<ProductCategory> queryProductCategory(Integer page, Integer pageSize, String prodName);

    long findTotalNum(String prodName);
    int addProductCategory(ProductCategory productCategory);
    ProductCategory findByPid(Integer prodId);
    int editProd(ProductCategory productCategory);
    List<ProdChannel> queryChannel();
    ProductCategory findByPidRemi(Integer prodId);
    int addRemi(ProductCategory productCategory);
    int deleteProd(Integer prodId);
}
